import { ReactNode } from 'react'
import Link from 'next/link'

export default function ProductLayout({
  children,
  modal
}: Readonly<{
  children: ReactNode
  modal: ReactNode
}>) {
  return (
    <div>
      <div className="flex items-center justify-center">
        <Link href={'/product'}>Home</Link>
        <Link href={'/'}>Test</Link>
      </div>
      {modal}
      {children}
    </div>
  )
}
